<div id="content" class="hfeed">
    <div class="page hentry entry">
        <div class="post-wrap">
            <div class="entry-content">

                <h2>View</h2>
                <dl>
                		<dt><?php echo __('Id'); ?></dt>
                		<dd>
                			<?php echo h($product['Product']['id']); ?>
                			&nbsp;
                		</dd>
                		<dt><?php echo __('Warehouse'); ?></dt>
                		<dd>
                			<?php echo $this->Html->link($product['Warehouse']['warehouse_name'], array('controller' => 'warehouses', 'action' => 'view', $product['Warehouse']['id'])); ?>
                			&nbsp;
                		</dd>
                		<dt><?php echo __('Purchase Detail'); ?></dt>
                		<dd>
                			<?php echo $this->Html->link($product['PurchaseDetail']['id'], array('controller' => 'purchase_details', 'action' => 'view', $product['PurchaseDetail']['id'])); ?>
                			&nbsp;
                		</dd>
                		<dt><?php echo __('Sales Detail'); ?></dt>
                		<dd>
                			<?php echo $this->Html->link($product['SalesDetail']['id'], array('controller' => 'sales_details', 'action' => 'view', $product['SalesDetail']['id'])); ?>
                			&nbsp;
                		</dd>
                		<dt><?php echo __('Model'); ?></dt>
                		<dd>
                			<?php echo $this->Html->link($product['Modell']['mobile_name'], array('controller' => 'modells', 'action' => 'view', $product['Modell']['id'])); ?>
                			&nbsp;
                		</dd>
                		<dt><?php echo __('Serial Number'); ?></dt>
                		<dd>
                			<?php echo h($product['Product']['serial_number']); ?>
                			&nbsp;
                		</dd>
                	</dl>
            </div>
        </div>
    </div>
</div>
<div id="sidebar" class="sidebar">
    <div class="widget">
        <h4>Chức năng</h4>
        <ul class="menu">
            <li><?php echo $this->Html->link(__('Edit Product'), array('action' => 'edit', $product['Product']['id'])); ?> </li>
            		<li><?php echo $this->Form->postLink(__('Delete Product'), array('action' => 'delete', $product['Product']['id']), array(), __('Are you sure you want to delete # %s?', $product['Product']['id'])); ?> </li>
            		<li><?php echo $this->Html->link(__('List Products'), array('action' => 'index')); ?> </li>
            		<li><?php echo $this->Html->link(__('New Product'), array('action' => 'add')); ?> </li>
        </ul>
    </div>
</div>